package JsonModel;

public class Group {
	
	//key json
	public static final String keyGroupCatId = "GroupCatId";
	public static final String keyTime = "Time";
	public static final String keyGroupCatName = "GroupCatName";
	public static final String keyMonitor = "Monitor";
	public static final String keylink = "link";
	public static final String keyExpired = "Expired";
	public static final String keyGroupId = "GroupId";
	public static final String keyLogoId = "LogoId";
	public static final String keyIsPublish = "IsPublish";
	public static final String keyTitle = "Title";
	public static final String keyTotal = "total";
	public static final String keyNews = "news";
	public static final String keyGroupUserId = "GroupUserId";
	
	private String groupId;
	private String groupCatName;
	private String link;
	private String groupCatId;
	private String title;
	private String logoId;
	private String monitor;
	private String time;
	private String isPublish;
	private String expried;
	private String total;
	private String numNews;
	private String groupUserId;
	
	
	public String getGroupUserId() {
		return groupUserId;
	}
	
	public void setGroupUserId(String groupUserId) {
		this.groupUserId = groupUserId;
	}

	public String getNumNews() {
		return numNews;
	}
	public void setNumNews(String numNews) {
		this.numNews = numNews;
	}
	public String getGroupId() {
		return groupId;
	}
	public String getGroupCatName() {
		return groupCatName;
	}
	public String getLink() {
		return link;
	}
	public String getGroupCatId() {
		return groupCatId;
	}
	public String getTitle() {
		return title;
	}
	public String getLogoId() {
		return logoId;
	}
	public String getMonitor() {
		return monitor;
	}
	public String getTime() {
		return time;
	}
	public String getIsPublish() {
		return isPublish;
	}
	public String getExpried() {
		return expried;
	}
	public String getTotal() {
		return total;
	}
	
	//constructor
	public Group(String groupId,String categoryId, String categoryName, String logoId, String timeCreate, String expired, String isPublish, String monitor,String title,String link,String total)
	{
		this.groupCatId = categoryId;
		this.groupId = groupId;
		this.groupCatName = categoryName;
		this.time = timeCreate;
		this.title = title;
		this.total = total;
		this.isPublish = isPublish;
		this.link = link;
		this.logoId = logoId;
		this.expried = expired;
		this.monitor = monitor;
		this.numNews = "";
		this.groupUserId = "";
	}
	public Group(String groupId, String groupUserId, String groupCatId,String groupCatName, String title, String total, String time, String link, String news)
	{
		this.groupId = groupId;
		this.groupCatName = groupCatName;
		this.groupCatId = groupCatId;
		this.time = time;
		this.total = total;
		this.title = title;
		this.numNews = news;
		this.groupUserId = groupUserId;
		this.link = link;
		this.isPublish = "";
		this.logoId = "";
		this.expried = "";
		this.monitor = "";
	}
}
